package cn.edu.scau.cmi.linpeiwei.client;

import java.io.IOException;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class CompositeClient extends Application{
	public static void main(String[] args) {
		Application.launch(args);
	}

	@Override
	public void start(Stage primaryStage){
		// TODO 自动生成的方法存根
		try {
			Parent root = FXMLLoader.load(getClass().getResource("/cn/edu/scau/cmi/linpeiwei/view/Composite.fxml"));
			primaryStage.setTitle("组合模式");
			 primaryStage.setScene(new Scene(root));
	            primaryStage.show();
		} catch (IOException e) {
			// TODO
			e.printStackTrace();
		}
	}
}
